package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.Feedback;
import com.jic.member.entity.MememberUser;
import com.jic.member.request.AddFeedBackRequest;

/**
* 意见反馈信息表
* @author : zxl
* @email : 
* @since : 2020-03-03 10:24:09
* @version : v1.0.0
*/
public interface FeedbackService {

    long insert(Feedback feedback);

    long delete(Long id);

    long update(Feedback feedback);

    Feedback queryByPrimaryKey(Long id);

    List<Feedback> query(Feedback feedback);

    PageResult<Feedback> queryPage(Feedback feedback, Page pageQuery);

    RestResult insertFeedBack(MememberUser member, AddFeedBackRequest addFeedBackRequest);
}